Skip to content

fix(agent-device): create the configured state directory before launch - #137

Merged
hannojg merged 1 commit into
mainfrom
codex/agent-device-state-directory
Nov 21, 2026
Merged

hannojg merged 1 commit into
mainfrom
codex/agent-device-state-directory

Conversation

@hannojg

@hannojg hannojg commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Split from #132. An operator or recorder may configure a state directory before it exists. Create the directory before launching the agent-device MCP process with that working directory and allow a retry on the same runtime when the first creation attempt fails.

The regression reproduced the original spawn error on Windows and passed using the real bundled agent-device MCP child on Node 22.23.2 and 24.22.1. It checks recovery after a failed mkdir, the child’s session directory and preservation of that directory on shutdown. Existing storage and readiness telemetry stays in place.

@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mobile-dev Ready Ready Preview Nov 21, 2026 1:51pm UTC

Request Review

@hannojg
hannojg marked this pull request as ready for review November 21, 2026 13:51
@hannojg
hannojg merged commit c62491c into main Nov 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant